.class public Lcom/xingbook/group/adapter/ae;
.super Landroid/widget/BaseAdapter;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field public a:I

.field private b:Ljava/util/ArrayList;

.field private c:Landroid/widget/LinearLayout;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/ProgressBar;

.field private f:Landroid/content/Context;

.field private g:I

.field private h:I

.field private i:I

.field private j:I

.field private k:F

.field private l:F

.field private m:F

.field private n:F

.field private o:F

.field private p:Lcom/xingbook/group/adapter/af;

.field private q:Landroid/graphics/drawable/Drawable;

.field private r:Landroid/graphics/drawable/Drawable;

.field private s:Landroid/graphics/drawable/Drawable;

.field private t:Landroid/graphics/drawable/Drawable;

.field private u:Ljava/util/ArrayList;

.field private v:Landroid/view/View;

.field private w:Lcom/xingbook/group/adapter/ag;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/group/adapter/af;Landroid/view/ViewGroup;Lcom/xingbook/group/adapter/ag;)V
    .locals 7

    const/high16 v3, 0x420c

    const/high16 v2, 0x41e0

    const/4 v6, 0x0

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    const/4 v0, 0x2

    iput v0, p0, Lcom/xingbook/group/adapter/ae;->a:I

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/group/adapter/ae;->p:Lcom/xingbook/group/adapter/af;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    iput-object p3, p0, Lcom/xingbook/group/adapter/ae;->v:Landroid/view/View;

    iput-object p4, p0, Lcom/xingbook/group/adapter/ae;->w:Lcom/xingbook/group/adapter/ag;

    invoke-static {p1}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v0

    const/high16 v1, 0x4150

    mul-float/2addr v1, v0

    float-to-int v1, v1

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->g:I

    const/high16 v1, 0x41b0

    mul-float/2addr v1, v0

    float-to-int v1, v1

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->h:I

    iget v1, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->i:I

    const/high16 v1, 0x42c8

    mul-float/2addr v1, v0

    float-to-int v1, v1

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->j:I

    const/high16 v1, 0x41c8

    mul-float/2addr v1, v0

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->k:F

    mul-float v1, v3, v0

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->l:F

    mul-float v1, v3, v0

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->m:F

    mul-float v1, v2, v0

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->n:F

    mul-float v1, v2, v0

    iput v1, p0, Lcom/xingbook/group/adapter/ae;->o:F

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020161

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v3, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-direct {v2, v3, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/group/adapter/ae;->q:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->q:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v2, v6, v6, v3, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02014e

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v3, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-direct {v2, v3, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/group/adapter/ae;->r:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->r:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v2, v6, v6, v3, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02017d

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v3, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-direct {v2, v3, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/group/adapter/ae;->s:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->s:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v2, v6, v6, v3, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02017e

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v3, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-direct {v2, v3, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/group/adapter/ae;->t:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->t:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v2, v6, v6, v3, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    new-instance v1, Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v4, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v5, p0, Lcom/xingbook/group/adapter/ae;->g:I

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    const/16 v2, 0x11

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v1, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Landroid/widget/ProgressBar;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f02023d

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setIndeterminateDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    const/4 v2, 0x4

    invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    const/high16 v1, 0x4234

    mul-float/2addr v1, v0

    float-to-int v1, v1

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v1, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    const v2, -0x555556

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    const/high16 v2, 0x41f0

    mul-float/2addr v0, v2

    invoke-virtual {v1, v6, v0}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    const-string v1, "\u52a0\u8f7d\u66f4\u591a"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/adapter/ae;->u:Ljava/util/ArrayList;

    return-void
.end method

.method private a(Landroid/widget/LinearLayout;)V
    .locals 4

    invoke-virtual {p1}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v2

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    if-lt v1, v2, :cond_0

    invoke-virtual {p1}, Landroid/widget/LinearLayout;->removeAllViews()V

    return-void

    :cond_0
    invoke-virtual {p1, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v3, v0, Lcom/xingbook/ui/InsetVideoView;

    if-eqz v3, :cond_1

    check-cast v0, Lcom/xingbook/ui/InsetVideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/InsetVideoView;->c()V

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    const-string v1, "\u52a0\u8f7d\u4e2d\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public a(II)V
    .locals 4

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->u:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-object v1, v0

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_2

    if-eqz v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->u:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    :cond_1
    return-void

    :cond_2
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v3

    if-eqz v3, :cond_4

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v3

    instance-of v3, v3, Lcom/xingbook/group/adapter/ah;

    if-eqz v3, :cond_4

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/adapter/ah;

    iget v3, v0, Lcom/xingbook/group/adapter/ah;->q:I

    if-lt v3, p1, :cond_3

    iget v3, v0, Lcom/xingbook/group/adapter/ah;->q:I

    if-le v3, p2, :cond_0

    :cond_3
    iget-object v0, v0, Lcom/xingbook/group/adapter/ah;->i:Landroid/widget/LinearLayout;

    invoke-direct {p0, v0}, Lcom/xingbook/group/adapter/ae;->a(Landroid/widget/LinearLayout;)V

    goto :goto_0

    :cond_4
    move-object v1, v0

    goto :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 4

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_2
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_3

    move-object v0, v1

    :goto_1
    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    invoke-virtual {p0}, Lcom/xingbook/group/adapter/ae;->notifyDataSetChanged()V

    goto :goto_0

    :cond_3
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/h;

    iget-object v3, v0, Lcom/xingbook/group/a/h;->g:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    goto :goto_1
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 1

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    invoke-virtual {p0}, Lcom/xingbook/group/adapter/ae;->notifyDataSetChanged()V

    :cond_0
    return-void
.end method

.method public a(ZLjava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->e:Landroid/widget/ProgressBar;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    if-nez p2, :cond_0

    const-string p2, "\u52a0\u8f7d\u66f4\u591a\u00b7\u00b7\u00b7"

    :cond_0
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public b(Ljava/util/ArrayList;)V
    .locals 1

    const/4 v0, -0x1

    invoke-virtual {p0, v0, v0}, Lcom/xingbook/group/adapter/ae;->a(II)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->u:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    invoke-virtual {p1}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/xingbook/group/adapter/ae;->notifyDataSetChanged()V

    return-void
.end method

.method public getCount()I
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    iget v1, p0, Lcom/xingbook/group/adapter/ae;->a:I

    add-int/2addr v0, v1

    :goto_0
    return v0

    :cond_0
    iget v0, p0, Lcom/xingbook/group/adapter/ae;->a:I

    goto :goto_0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    add-int/lit8 v0, p1, -0x1

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->b:Ljava/util/ArrayList;

    add-int/lit8 v1, p1, -0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 10

    invoke-virtual {p0}, Lcom/xingbook/group/adapter/ae;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne p1, v0, :cond_1

    if-eqz p2, :cond_0

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/xingbook/group/adapter/ah;

    if-eqz v0, :cond_0

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/adapter/ah;

    iget-object v0, v0, Lcom/xingbook/group/adapter/ah;->i:Landroid/widget/LinearLayout;

    invoke-direct {p0, v0}, Lcom/xingbook/group/adapter/ae;->a(Landroid/widget/LinearLayout;)V

    :cond_0
    iget-object p2, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    :goto_0
    return-object p2

    :cond_1
    if-nez p1, :cond_2

    iget-object p2, p0, Lcom/xingbook/group/adapter/ae;->v:Landroid/view/View;

    goto :goto_0

    :cond_2
    if-eqz p2, :cond_3

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/xingbook/group/adapter/ah;

    if-eqz v0, :cond_3

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/adapter/ah;

    move-object v9, v0

    :goto_1
    iput p1, v9, Lcom/xingbook/group/adapter/ah;->q:I

    if-nez p1, :cond_4

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->p:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_2
    invoke-virtual {p0, p1}, Lcom/xingbook/group/adapter/ae;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    move-object v8, v0

    check-cast v8, Lcom/xingbook/group/a/h;

    iget-object v0, v8, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    iget-object v0, v0, Lcom/xingbook/group/a/d;->f:Ljava/lang/String;

    invoke-static {v0}, Lcom/xingbook/group/b/d;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->a:Landroid/widget/ImageView;

    const v2, 0x7f020057

    const/4 v3, 0x1

    const/4 v4, 0x1

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x1

    invoke-static/range {v0 .. v7}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZFLcom/xingbook/c/f;Z)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->b:Landroid/widget/TextView;

    iget-object v1, v8, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v1}, Lcom/xingbook/group/a/d;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v8, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v0}, Lcom/xingbook/group/a/d;->c()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_5

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_3
    iget v0, v8, Lcom/xingbook/group/a/h;->i:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_6

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    const-string v1, "\u697c\u4e3b"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_4
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->d:Landroid/widget/TextView;

    iget-wide v1, v8, Lcom/xingbook/group/a/h;->j:J

    invoke-static {v1, v2}, Lcn/a/a/d/j;->b(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget v0, v8, Lcom/xingbook/group/a/h;->l:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_9

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->i:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->l:F

    const/16 v4, -0x7172

    const/4 v5, 0x0

    move-object v0, v8

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/group/a/h;->a(Landroid/widget/LinearLayout;Landroid/content/Context;FII)V

    :goto_5
    iget-object v0, v8, Lcom/xingbook/group/a/h;->k:Lcom/xingbook/group/a/h;

    if-nez v0, :cond_a

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->n:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_6
    iget v0, v8, Lcom/xingbook/group/a/h;->i:I

    const/4 v1, 0x1

    if-eq v0, v1, :cond_f

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->w:Lcom/xingbook/group/adapter/ag;

    iget-object v1, v8, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v1}, Lcom/xingbook/group/a/d;->a()J

    move-result-wide v1

    invoke-interface {v0, v1, v2}, Lcom/xingbook/group/adapter/ag;->a(J)Z

    move-result v0

    if-eqz v0, :cond_c

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    :goto_7
    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->w:Lcom/xingbook/group/adapter/ag;

    iget-object v1, v8, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v1}, Lcom/xingbook/group/a/d;->a()J

    move-result-wide v1

    invoke-interface {v0, v1, v2}, Lcom/xingbook/group/adapter/ag;->b(J)Z

    move-result v0

    if-eqz v0, :cond_e

    iget v0, v8, Lcom/xingbook/group/a/h;->l:I

    const/4 v1, 0x1

    if-eq v0, v1, :cond_e

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    invoke-virtual {v8}, Lcom/xingbook/group/a/h;->d()Z

    move-result v0

    if-eqz v0, :cond_d

    const-string v0, "\u53d6\u6d88\u5c4f\u853d"

    :goto_8
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    :goto_9
    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->u:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    const v1, 0x7f030019

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/xingbook/group/adapter/ah;

    invoke-direct {v1, p0}, Lcom/xingbook/group/adapter/ah;-><init>(Lcom/xingbook/group/adapter/ae;)V

    const v0, 0x7f0a00cd

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->o:Landroid/view/View;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->o:Landroid/view/View;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v4, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v5, p0, Lcom/xingbook/group/adapter/ae;->g:I

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/view/View;->setPadding(IIII)V

    const v0, 0x7f0a00cb

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->p:Landroid/view/View;

    const v0, 0x7f0a00cc

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->i:I

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    const v0, 0x7f0a00ce

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->a:Landroid/widget/ImageView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->a:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->j:I

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->j:I

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    const v0, 0x7f0a00cf

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->b:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->b:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->m:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->b:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v2, v2, 0x2

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v4, p0, Lcom/xingbook/group/adapter/ae;->g:I

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->b:Landroid/widget/TextView;

    const v2, -0x376482

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0a00d0

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->o:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v2, v2, 0x3

    const/4 v3, 0x0

    iget v4, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v4, v4, 0x3

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    const v2, 0x7f020169

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setBackgroundResource(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    const/4 v2, -0x1

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0a00d1

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->m:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    const v2, -0x666667

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->g:I

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    const v0, 0x7f0a00d2

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->d:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->d:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->k:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->d:Landroid/widget/TextView;

    const v2, -0x666667

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->d:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->g:I

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    const v0, 0x7f0a00d3

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->i:Landroid/widget/LinearLayout;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->i:Landroid/widget/LinearLayout;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->g:I

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    const v0, 0x7f0a00d4

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->n:Landroid/view/View;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->n:Landroid/view/View;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->h:I

    iget v4, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iget v5, p0, Lcom/xingbook/group/adapter/ae;->g:I

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/view/View;->setPadding(IIII)V

    const v0, 0x7f0a00d5

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->j:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->j:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->m:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->j:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v2, v2, 0x3

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->j:Landroid/widget/TextView;

    const v2, -0x376482

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->j:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->r:Landroid/graphics/drawable/Drawable;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    const v0, 0x7f0a00d6

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->k:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->k:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->m:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->k:Landroid/widget/TextView;

    const v2, -0x666667

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0a00d7

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->l:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->l:Landroid/widget/TextView;

    const v2, -0x666667

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->l:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->m:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->l:Landroid/widget/TextView;

    const/4 v2, 0x0

    const/4 v3, 0x0

    iget v4, p0, Lcom/xingbook/group/adapter/ae;->g:I

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    const v0, 0x7f0a00d8

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    iget v5, p0, Lcom/xingbook/group/adapter/ae;->g:I

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    const v2, -0x99999a

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->l:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    const v0, 0x7f0a00db

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v2, v2, 0x3

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    const v2, -0x705e39

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->n:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->q:Landroid/graphics/drawable/Drawable;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a00da

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v2, v2, 0x3

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    const v2, -0x705e39

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->n:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->s:Landroid/graphics/drawable/Drawable;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a00d9

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    div-int/lit8 v2, v2, 0x3

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    const v2, -0x705e39

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->n:F

    invoke-virtual {v0, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/adapter/ae;->g:I

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->t:Landroid/graphics/drawable/Drawable;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, v1, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    move-object v9, v1

    goto/16 :goto_1

    :cond_4
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->p:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_2

    :cond_5
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->h:Landroid/widget/TextView;

    iget-object v1, v8, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v1}, Lcom/xingbook/group/a/d;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_3

    :cond_6
    iget v0, v8, Lcom/xingbook/group/a/h;->i:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_7

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    const-string v1, "\u6c99\u53d1"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_4

    :cond_7
    iget v0, v8, Lcom/xingbook/group/a/h;->i:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_8

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    const-string v1, "\u677f\u51f3"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_4

    :cond_8
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u7b2c"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v2, v8, Lcom/xingbook/group/a/h;->i:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\u697c"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_4

    :cond_9
    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->i:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->f:Landroid/content/Context;

    iget v3, p0, Lcom/xingbook/group/adapter/ae;->l:F

    const v4, -0x99999a

    const/4 v5, 0x0

    move-object v0, v8

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/group/a/h;->a(Landroid/widget/LinearLayout;Landroid/content/Context;FII)V

    goto/16 :goto_5

    :cond_a
    iget-object v0, v8, Lcom/xingbook/group/a/h;->k:Lcom/xingbook/group/a/h;

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->n:Landroid/view/View;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->j:Landroid/widget/TextView;

    iget-object v2, v0, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v2}, Lcom/xingbook/group/a/d;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->k:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u7b2c"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v3, v0, Lcom/xingbook/group/a/h;->i:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\u697c"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->l:Landroid/widget/TextView;

    iget-wide v2, v0, Lcom/xingbook/group/a/h;->j:J

    invoke-static {v2, v3}, Lcn/a/a/d/j;->b(J)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget v1, v0, Lcom/xingbook/group/a/h;->l:I

    const/4 v2, 0x1

    if-ne v1, v2, :cond_b

    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    const/16 v2, -0x7172

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_a
    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/xingbook/group/a/h;->b()Landroid/text/SpannableStringBuilder;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_6

    :cond_b
    iget-object v1, v9, Lcom/xingbook/group/adapter/ah;->m:Landroid/widget/TextView;

    const v2, -0x99999a

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_a

    :cond_c
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_7

    :cond_d
    const-string v0, "\u5c4f\u853d"

    goto/16 :goto_8

    :cond_e
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_9

    :cond_f
    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->e:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->g:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v9, Lcom/xingbook/group/adapter/ah;->f:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_9
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->c:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/adapter/ae;->p:Lcom/xingbook/group/adapter/af;

    invoke-interface {v0}, Lcom/xingbook/group/adapter/af;->c()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a00db

    if-ne v0, v1, :cond_2

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    instance-of v0, v1, Lcom/xingbook/group/a/h;

    if-eqz v0, :cond_0

    iget-object v2, p0, Lcom/xingbook/group/adapter/ae;->p:Lcom/xingbook/group/adapter/af;

    move-object v0, v1

    check-cast v0, Lcom/xingbook/group/a/h;

    iget-object v0, v0, Lcom/xingbook/group/a/h;->g:Ljava/lang/String;

    check-cast v1, Lcom/xingbook/group/a/h;

    iget-object v1, v1, Lcom/xingbook/group/a/h;->h:Lcom/xingbook/group/a/d;

    invoke-virtual {v1}, Lcom/xingbook/group/a/d;->b()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v2, v0, v1}, Lcom/xingbook/group/adapter/af;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a00da

    if-ne v0, v1, :cond_3

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    instance-of v1, v0, Lcom/xingbook/group/a/h;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->w:Lcom/xingbook/group/adapter/ag;

    check-cast v0, Lcom/xingbook/group/a/h;

    iget-object v0, v0, Lcom/xingbook/group/a/h;->g:Ljava/lang/String;

    invoke-interface {v1, v0}, Lcom/xingbook/group/adapter/ag;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a00d9

    if-ne v0, v1, :cond_0

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    instance-of v1, v0, Lcom/xingbook/group/a/h;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/adapter/ae;->w:Lcom/xingbook/group/adapter/ag;

    check-cast v0, Lcom/xingbook/group/a/h;

    invoke-interface {v1, v0}, Lcom/xingbook/group/adapter/ag;->a(Lcom/xingbook/group/a/h;)V

    goto :goto_0
.end method
